import request from '@/utils/request'
import Qs from 'qs'
// 用户列表
export function getList (params) {
  return request({
    params,
    url: '/back/users/list', 
    method: 'get'
  })
}
//禁用、启用用户
export function updateIsFlagUsers (data) {
  return request({
    data:Qs.stringify(data),
    url: '/back/users/updateIsFlag',
    method:'post',
    headers:{'content-type': 'application/x-www-form-urlencoded'},
  })
}


